Fix onnxruntime-gpu churn in Docker TensorRT FP8 install step#15
Conversation
nvidia-modelopt[onnx] (unbounded, floats to 0.45.0) hard-pins onnxruntime-gpu==1.22.0 on Windows and force-upgrades onnx to 1.21.0, which breaks FP8 quant (external-data loading -> negative QDQ scale). Pin modelopt==0.43.0 (the proven pin used by the installer's TD path) and drop the [onnx] extra, enumerating its deterministic deps explicitly instead — modelopt core has no onnx requirement, so the onnx==1.19.1/onnxruntime-gpu==1.24.4 pins installed just above are never perturbed. Mirrors the same fix landed in forkni/StreamDiffusion-installer#4 and #14 (SDTD_040_beta_release). Co-Authored-By: Claude Opus 5 <[email protected]>
|
Claude finished @forkni's task in 2m 20s —— View job Code reviewSummary: This PR pins No issues found. Checked for bugs, logic errors, and dependency-resolution problems in the diff. One candidate concern was investigated and ruled out: |
Summary
nvidia-modelopt[onnx]was unbounded here, floating to 0.45.0 — whose[onnx]extra force-upgradesonnxto 1.21.0 (breaks FP8 quant: external-data loading -> negative QDQ scale) and hard-pinsonnxruntime-gpu==1.22.0on Windows, downgrading off theonnx==1.19.1/onnxruntime-gpu==1.24.4pins installed just above.nvidia-modelopt==0.43.0(the same proven pin already used inforkni/StreamDiffusion-installer) and drop the[onnx]extra, enumerating its deterministic deps explicitly instead. modelopt core has no onnx requirement, so the churn/regression never enters the resolve.Test plan
py_compile src/streamdiffusion/tools/install-tensorrt.pypassespip --dry-runon 040 applies unchanged🤖 Generated with Claude Code